package main

import (
  "fmt"
)

type Phone interface{
	call()
}

type NokiaPhone struct {

}

func(nokiaPhone NokiaPhone) call() {
	fmt.Println("I am Nokia,I can call you")
}

type Iphone struct {

}

func (iPhone Iphone) call() {
	fmt.Println("I am iPhone, I can call you")
}

func main() {
	var phone Phone
	phone = new(NokiaPhone)
	phone.call()
	phone = new(Iphone)
	phone.call()
}